package com.huayue.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.huayue.dao.BaseDao;
import com.huayue.dao.CreditDao;
import com.huayue.entity.Credit;
import com.huayue.util.PageHelper;

/**
 * 统计
 */
@Service
public class CreditService extends BaseService<Credit> {
    @Autowired
    CreditDao creditDao;

    @Override
    public BaseDao<Credit> getDao() {
        return null;
    }

    @Override
    public List<Map<String, Object>> findPage(PageHelper page, Object... obj) {
        return creditDao.findPage(page, obj);
    }

    @Override
    public int count(Object... obj) {
        return creditDao.count(obj);
    }
}
